package com.xuecheng.content.domain.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xuecheng.base.model.PageResult;
import com.xuecheng.content.domain.model.dto.CoursePreviewDto;
import com.xuecheng.content.domain.model.entity.CourseBase;

public interface CourseBaseService extends IService<CourseBase> {

    PageResult<CourseBase> queryCourseBasePage(LambdaQueryWrapper<CourseBase> queryWrapper, Page<CourseBase> page);

    CourseBase createCourseBase(CourseBase courseBase);

    CoursePreviewDto queryCourseBasePreview(Long courseId);

}
